package com.tongfusoft.document.entity;

import javax.persistence.Entity;

import com.tongfusoft.spring.web.core.data.BaseData;

@Entity
public class RoleHasSecurities extends BaseData {
	/**
	
	*/
	private String rpId;
	/**
	 
	*/
	private String roleId;
	
	/**
	 * 角色名称
	 */
	private String roleName;
	
	/**
	 * 安全组名称
	 */
	private String groupName;
	/**
	 
	*/
	private String groupId;
	/**
	 * 读，1是0否
	 */
	private String readPower;
	/**
	 * 写，1是0否
	 */
	private String updatePower;
	/**
	 * 删除，1是0否
	 */
	private String deletePower;
	/**
	 * 管理，1是0否
	 */
	private String managerPower;
	/**
	 * 是否有效 1是，0否
	 */
	private String status;

	@Override
	public String getPkName() {
		return "rpId";
	}

	public String getRpId() {
		return rpId;
	}

	public void setRpId(String rpId) {
		this.rpId = rpId;
	}

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getGroupId() {
		return groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public String getReadPower() {
		return readPower;
	}

	public void setReadPower(String readPower) {
		this.readPower = readPower;
	}

	public String getUpdatePower() {
		return updatePower;
	}

	public void setUpdatePower(String updatePower) {
		this.updatePower = updatePower;
	}

	public String getDeletePower() {
		return deletePower;
	}

	public void setDeletePower(String deletePower) {
		this.deletePower = deletePower;
	}

	public String getManagerPower() {
		return managerPower;
	}

	public void setManagerPower(String managerPower) {
		this.managerPower = managerPower;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}
}